home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts39-09
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c
- Subject: Re: Newbie C question
- Date: Thu, 08 Feb 96 18:20:38 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4fdejm$flj@sam.inforamp.net>
- References: <4epuhv$5vu@silver.scs.unr.edu>
- NNTP-Posting-Host: ts39-09.tor.inforamp.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <4epuhv$5vu@silver.scs.unr.edu>,
- robertj@scs.unr.edu (Robert D. Jones) wrote:
- >I've got Borland C++ 4.52 and am trying to write a DLL. I want to be able
- >to pass 2 strings and 1 integer to the DLL and have it return an array. The
- >number of elements in the array is to be determined by the value of the
- >integer. Each element is to be an integer.
- >
-
- int * GetArrayFromStringInterger(char *, char *, int i)
- {
- ...
- int * ai = new integer[i];
- ...
- return ai;
- };
-
- I hope I'm not being too simplistic.
-
- Agrivar
-